package com.ruoyi;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableAsync;

/**
 * 启动程序
 * 
 * @author ruoyi
 */
@Slf4j
@EnableAsync
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
public class RuoYiApplication
{
    public static void main(String[] args)
    {
        System.setProperty("spring.devtools.restart.enabled", "false");
        try {
            SpringApplication.run(RuoYiApplication.class, args);
            log.info("(♥◠‿◠)ﾉﾞ  伊芦经方项目 启动成功   ლ(´ڡ`ლ)ﾞ");
        } catch (Exception e) {
            log.error("伊芦经方项目启动失败，原因：", e);
        }
    }
}
